﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewSideBar.ascx.cs" Inherits="Controls_NewSideBar" %>
<div class="new_search">
    <div class="news-container" style="overflow: hidden; position: relative; height: 15px;">
        <script src="js/jquery.vticker-min.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function () {
                $('.news-container').vTicker({
                    speed: 500,
                    pause: 3000,
                    animation: 'fade',
                    mousePause: false,
                    showItems: 1
                });
            });
                    </script>
        <h2>
            News</h2>
        <ul style="position: absolute; margin: 0px; padding: 0px; top: 0px;">
            <asp:Repeater ID="rptData" runat="server">
                <ItemTemplate>
                    <li style="margin: 0px; padding: 0px; height: 15px; display: list-item;">
                        <div>
                            <ol>
                                <li><a href="#"><%#Eval("FULL_ARTICLE_TITLE")%></a></li>
                            </ol>
                        </div>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <!--End .news-container-->
    <div class="search">
        <input type="text" onblur="if(this.value==''){this.value='Từ khóa tìm kiếm'};" onfocus="if(this.value=='Từ khóa tìm kiếm'){this.value=''};"
            value="Từ khóa tìm kiếm" class="text" name="">
        <input type="button" value="&nbsp;" class="button" name="">
    </div>
</div>
